@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}
/*.footer {*/
/*  position: fixed;*/
/*  bottom: 0;*/
/*  width: 100%;*/
/*}*/
/* Body Background */
body {
  background: #4E6859; /* Soft Green */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.login-container {
  display: flex;
  width: 800px;
  height: 450px;
  background: #F2F2F2;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  margin: auto;
  margin-top: 160px; /* For navbar */
}

/* Left Side */
.login-left {
  background: #2F4637; /* Dark Green */
  color: white;
  width: 40%;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.login-left .center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}

.login-left h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.login-left p {
  font-size: 14px;
}

/* Right Side */
.login-right {
  width: 60%;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: white;
}

.login-right h2 {
  font-size: 22px;
  margin-bottom: 20px;
  color: #2F4637;
  text-align: center;
}

/* Input Fields */
.input-group {
  position: relative;
  margin-bottom: 20px;
}

.input-group input {
  width: 100%;
  padding: 12px;
  padding-left: 40px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
}

.input-group i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #2F4637;
}

/* Button */
.login-btn {
  width: 100%;
  background: #2F4637;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s;
}

.login-btn:hover {
  background: #4E6859;
}

  /* Forget Pass */
  .extra-links {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    font-size: 14px;
  }

  .extra-links a {
    text-decoration: none;
    color: #2F4637;
  }

  .extra-links a:hover {
    text-decoration: underline;
  }


  /* Toggle Pass */
  .password-container {
    position: relative;
  }

  .password-container input {
    padding: 40px;
  }

  .password-container .toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #2F4637;
  }


  /* General Styles */
  body {
    font-family: Arial, sans-serif;
    background-color: #f8f8f8;
    margin: 0;
    padding: 0;
  }
  
  /* Navbar Styles */
  .navbar {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
  }
  
  .navbar-brand {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
  }
  
  .navbar-brand img {
    height: 40px;
    margin-right: 10px;
  }
  
  .navbar-nav .nav-link {
    color: #000;
    font-weight: bold;
    margin: 0 10px;
    transition: color 0.3s ease;
  }
  
  .navbar-nav .nav-link:hover {
    color: #546E59;
  }

  .navbar .btn-primary {
    background-color: #4E6859;
    border-color: #4E6859;
    color: white;
    font-size: 16px;  
    padding: 5px 12px; 
    border-radius: 5px; 
    transition: 0.3s;
  }

  .navbar .btn-primary:hover {
    background-color: #2F4637; /* Darker shade for hover effect */
    border-color: #2F4637;
  }
  
  .navbar .btn-primary:active {
    background-color: #546E59 !important;
    border-color: #546E59 !important;
    box-shadow: none !important;
    outline: none !important;
  }
  

  /* VISITOR PAGE */
  /* Carousel - Landing Page */
  /*#myCarousel {*/
    /*margin-top: 80px; */
  /*}*/
  
  /*.carousel-item {*/
  /*  height: 500px;*/
  /*}*/
  
  /*.carousel-item svg {*/
  /*  width: 100%;*/
  /*  height: 100%;*/
  /*}*/
  
  /*.carousel-caption {*/
  /*  background: rgba(0, 0, 0, 0.5);*/
  /*  padding: 20px;*/
  /*  border-radius: 8px;*/
  /*}*/
  
  /*.carousel-caption h1 {*/
  /*  font-size: 2rem;*/
  /*  color: #fff;*/
  /*}*/
  
  /*.carousel-caption p {*/
  /*  font-size: 1.2rem;*/
  /*  color: #ddd;*/
  /*}*/
  
  /*.carousel-caption .btn {*/
  /*  background: #546E59;*/
  /*  border: none;*/
  /*  font-size: 1rem;*/
  /*}*/
  
  /*.carousel-caption .btn:hover {*/
  /*  background: #3d5442;*/
  /*}*/

  /*.carousel-caption .btn:active {*/
  /*  background-color: #546E59 !important;*/
  /*  border-color: #546E59 !important;*/
  /*  box-shadow: none !important;*/
  /*  outline: none !important;*/
  /*}*/

  .info-section {
    background-color: #f8f9fa; /* Light gray */
  }
  .card {
    border-radius: 10px;
    border: none;
    width: 200px;
    text-align: center;
  }


  /* About Us Page */
  .about-section {
    background-color: #546E59;
    color: white;
    padding: 80px 0;
    text-align: center;
  }

  .about-section h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
  }

  .about-section p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: auto;
  }

  /* HAF */
  .about-box {
    background: #2a372c;
    padding: 50px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: 0.3s ease;
  }

  .about-box img {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
  }

  .about-box .h3GreenBox {
    font-weight: bold;
    color: white;
    margin-bottom: 10px;
  }

  .about-box h3 {
    font-weight: bold;
    color: black;
    margin-bottom: 10px;
  }

  .about-box .pGreenBox {
    color: white;
    font-size: 1rem;
  }

  .about-box p {
    color: black;
    font-size: 1rem;
  }

  .main-box {
    background: white;
    border: 3px solid white;
  }


  /* ADMIN PAGE */
  /* Dashboard(Home Page) */
  .admin-dashboard {
    margin-top: 100px;
    padding: 170px;
    background-color: #4E6859;
    color: white;
    border-radius: 10px;
  }

  /* Record Counts */
  .stat-card {
    background: white;
    color: #4E6859;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
  }

  .stat-card:hover {
    transform: scale(1.05);
  }

  .stat-card h2 {
    font-size: 36px;
    font-weight: bold;
  } 

  .stat-card p {
    font-size: 18px;
    font-weight: 600;
  }

  /* Management Page */
  .tab-container {
    margin: 120px;
    padding-top: 40px;
  }

  .table {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  .table thead {
    background: #4E6859;
    color: white;
  }

  .table tbody tr:hover {
    background: #f8f9fa;
  }

  /* Tabs */
  .nav-tabs .nav-link {
    color: #4E6859;
    font-weight: bold;
  }

  .nav-tabs .nav-link.active {
    background: #4E6859;
    color: white;
    border-radius: 5px;
  }

  /* Table Action Buttons */
  .table td .btn {
    margin-right: 5px;  /* Add spacing between buttons */
  }

  /* button adjustments */
  .btn-sm {
    padding: 5px 10px;  
    font-size: 14px;  
    border-radius: 5px;  /* Rounded corners for a softer look */
  }

  /* Edit Button (Management) */
  .btn-primary {
    background-color: #007bff;  
    border-color: #007bff;  
  }

  .btn-primary:hover {
    background-color: #0056b3;  
    border-color: #004085;
  }

  /* Archive Button (Management) */
  .btn-danger {
    background-color: #dc3545;  
    border-color: #dc3545;  
  }

  .btn-danger:hover {
    background-color: #bd2130;  
    border-color: #a71d2a;
  }

  /* Restore Button (Management) */
  .btn-success {
    background-color: #28a745;  
    border-color: #28a745;  
  }

  .btn-success:hover {
    background-color: #1e7e34;  
    border-color: #1c7430;
  }

  /* Search Bar */
  #searchInput {
    width: 250px;
    border: 2px solid #ccc;
    padding: 8px 12px;
    border-radius: 5px;
  }

  #searchInput:focus {
    outline: none;
    border-color: #2c3e50;
  }

  /* Admin Profile Content */
  .admincard {
    width: 100%;
    max-width: 1200px;
    margin: auto;
  }


  /* Footer */
  .footer {
    background-color: #f1f1f1;
    text-align: center;
    padding: 15px 0;
    /*position: fixed;*/
    width: 100%;
    bottom: 0;
    font-size: 14px;
    color: #2a372c;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
  /*      .footer {*/
    /*position: static; */
    .navbar-nav {
        text-align: center;
    }
    
    .login-container {
      flex-direction: column;
      width: 90%;
      height: auto;
    }

    .login-left {
      width: 100%;
      padding: 30px;
    }

    .login-right {
      width: 100%;
      padding: 30px;
    }
    
    /*.carousel-item {*/
    /*    height: 300px;*/
    /*}*/
    
    /*.carousel-caption {*/
    /*    padding: 15px;*/
    /*}*/
    
    /*.carousel-caption h1 {*/
    /*    font-size: 1.5rem;*/
    /*}*/
    
    /*.carousel-caption p {*/
    /*    font-size: 1rem;*/
    /*}*/

    .about-section h1 {
      font-size: 2rem;
    }

    .about-section p {
      font-size: 1rem;
    }

    .about-box {
      margin: auto;
    }

    .d-flex {
      flex-direction: column;
    }

    #searchInput {
      width: 100%;
      margin-bottom: 10px;
    }

    .btn {
      width: 100%;
      margin-top: 5px;
    }
  }
  
  
